package top.chenfu1201.clientApi.mns.consumer;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class DirectReceiver {

    @RabbitListener(queues = {"hello-guest"})
    public void consumer(String msg) {
        System.out.println("DirectReceiver:" + msg);
    }

}
